package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

public interface RoleService {
    //分页查询
    PageResponse<RoleVo> findRoleVoPage(RoleDto roleDto, Integer pageNum, Integer pageSize);

    //添加角色
    int createRole(RoleDto roleDto);
//修改角色
    Boolean updateRole(RoleDto roleDto);
//删除角色
    Object deleteRoleById(Long roleId);
}
